\(\int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx\) [767]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (warning: unable to verify)
   Maple [C] (warning: unable to verify)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 29, antiderivative size = 621 \[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\frac {\sqrt {3+b} (c-d) \sqrt {c+d} E\left (\arcsin \left (\frac {\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}\right )|\frac {(3-b) (c+d)}{(3+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-3 d) (1-\sin (e+f x))}{(c+d) (3+b \sin (e+f x))}} \sqrt {\frac {(b c-3 d) (1+\sin (e+f x))}{(c-d) (3+b \sin (e+f x))}} (3+b \sin (e+f x))}{(b c-3 d) f}+\frac {\sqrt {c+d} (b c+3 d) \operatorname {EllipticPi}\left (\frac {b (c+d)}{(3+b) d},\arcsin \left (\frac {\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}\right ),\frac {(3-b) (c+d)}{(3+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-3 d) (1-\sin (e+f x))}{(c+d) (3+b \sin (e+f x))}} \sqrt {\frac {(b c-3 d) (1+\sin (e+f x))}{(c-d) (3+b \sin (e+f x))}} (3+b \sin (e+f x))}{b \sqrt {3+b} d f}-\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {3+b \sin (e+f x)}}+\frac {(3+b)^{3/2} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}{\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(3+b) (c-d)}{(3-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-3 d) (1-\sin (e+f x))}{(3+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-3 d) (1+\sin (e+f x))}{(3-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{b \sqrt {c+d} f} \]

[Out]

(a*d+b*c)*EllipticPi((a+b)^(1/2)*(c+d*sin(f*x+e))^(1/2)/(c+d)^(1/2)/(a+b*sin(f*x+e))^(1/2),b*(c+d)/(a+b)/d,((a
-b)*(c+d)/(a+b)/(c-d))^(1/2))*sec(f*x+e)*(a+b*sin(f*x+e))*(c+d)^(1/2)*(-(-a*d+b*c)*(1-sin(f*x+e))/(c+d)/(a+b*s
in(f*x+e)))^(1/2)*((-a*d+b*c)*(1+sin(f*x+e))/(c-d)/(a+b*sin(f*x+e)))^(1/2)/b/d/f/(a+b)^(1/2)+(c-d)*EllipticE((
a+b)^(1/2)*(c+d*sin(f*x+e))^(1/2)/(c+d)^(1/2)/(a+b*sin(f*x+e))^(1/2),((a-b)*(c+d)/(a+b)/(c-d))^(1/2))*sec(f*x+
e)*(a+b*sin(f*x+e))*(a+b)^(1/2)*(c+d)^(1/2)*(-(-a*d+b*c)*(1-sin(f*x+e))/(c+d)/(a+b*sin(f*x+e)))^(1/2)*((-a*d+b
*c)*(1+sin(f*x+e))/(c-d)/(a+b*sin(f*x+e)))^(1/2)/(-a*d+b*c)/f+(a+b)^(3/2)*EllipticF((c+d)^(1/2)*(a+b*sin(f*x+e
))^(1/2)/(a+b)^(1/2)/(c+d*sin(f*x+e))^(1/2),((a+b)*(c-d)/(a-b)/(c+d))^(1/2))*sec(f*x+e)*(c+d*sin(f*x+e))*((-a*
d+b*c)*(1-sin(f*x+e))/(a+b)/(c+d*sin(f*x+e)))^(1/2)*(-(-a*d+b*c)*(1+sin(f*x+e))/(a-b)/(c+d*sin(f*x+e)))^(1/2)/
b/f/(c+d)^(1/2)-b*cos(f*x+e)*(c+d*sin(f*x+e))^(1/2)/f/(a+b*sin(f*x+e))^(1/2)

Rubi [A] (verified)

Time = 0.87 (sec) , antiderivative size = 628, normalized size of antiderivative = 1.01, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.241, Rules used = {2900, 3132, 2890, 12, 2880, 2897, 3075} \[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\frac {(a+b)^{3/2} \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{b f \sqrt {c+d}}+\frac {\sqrt {a+b} (c-d) \sqrt {c+d} \sec (e+f x) (a+b \sin (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (\sin (e+f x)+1)}{(c-d) (a+b \sin (e+f x))}} E\left (\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{f (b c-a d)}+\frac {\sqrt {c+d} (a d+b c) \sec (e+f x) (a+b \sin (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (\sin (e+f x)+1)}{(c-d) (a+b \sin (e+f x))}} \operatorname {EllipticPi}\left (\frac {b (c+d)}{(a+b) d},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{b d f \sqrt {a+b}}-\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {a+b \sin (e+f x)}} \]

[In]

Int[Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]],x]

[Out]

(Sqrt[a + b]*(c - d)*Sqrt[c + d]*EllipticE[ArcSin[(Sqrt[a + b]*Sqrt[c + d*Sin[e + f*x]])/(Sqrt[c + d]*Sqrt[a +
 b*Sin[e + f*x]])], ((a - b)*(c + d))/((a + b)*(c - d))]*Sec[e + f*x]*Sqrt[-(((b*c - a*d)*(1 - Sin[e + f*x]))/
((c + d)*(a + b*Sin[e + f*x])))]*Sqrt[((b*c - a*d)*(1 + Sin[e + f*x]))/((c - d)*(a + b*Sin[e + f*x]))]*(a + b*
Sin[e + f*x]))/((b*c - a*d)*f) + (Sqrt[c + d]*(b*c + a*d)*EllipticPi[(b*(c + d))/((a + b)*d), ArcSin[(Sqrt[a +
 b]*Sqrt[c + d*Sin[e + f*x]])/(Sqrt[c + d]*Sqrt[a + b*Sin[e + f*x]])], ((a - b)*(c + d))/((a + b)*(c - d))]*Se
c[e + f*x]*Sqrt[-(((b*c - a*d)*(1 - Sin[e + f*x]))/((c + d)*(a + b*Sin[e + f*x])))]*Sqrt[((b*c - a*d)*(1 + Sin
[e + f*x]))/((c - d)*(a + b*Sin[e + f*x]))]*(a + b*Sin[e + f*x]))/(b*Sqrt[a + b]*d*f) - (b*Cos[e + f*x]*Sqrt[c
 + d*Sin[e + f*x]])/(f*Sqrt[a + b*Sin[e + f*x]]) + ((a + b)^(3/2)*EllipticF[ArcSin[(Sqrt[c + d]*Sqrt[a + b*Sin
[e + f*x]])/(Sqrt[a + b]*Sqrt[c + d*Sin[e + f*x]])], ((a + b)*(c - d))/((a - b)*(c + d))]*Sec[e + f*x]*Sqrt[((
b*c - a*d)*(1 - Sin[e + f*x]))/((a + b)*(c + d*Sin[e + f*x]))]*Sqrt[-(((b*c - a*d)*(1 + Sin[e + f*x]))/((a - b
)*(c + d*Sin[e + f*x])))]*(c + d*Sin[e + f*x]))/(b*Sqrt[c + d]*f)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 2880

Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :
> Dist[1/(a - b), Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]]), x], x] - Dist[b/(a - b), Int[(1 +
 Sin[e + f*x])/((a + b*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] &
& NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]

Rule 2890

Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Simp[
2*((a + b*Sin[e + f*x])/(d*f*Rt[(a + b)/(c + d), 2]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 + Sin[e + f*x])/((c -
d)*(a + b*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 - Sin[e + f*x])/((c + d)*(a + b*Sin[e + f*x])))]*EllipticPi
[b*((c + d)/(d*(a + b))), ArcSin[Rt[(a + b)/(c + d), 2]*(Sqrt[c + d*Sin[e + f*x]]/Sqrt[a + b*Sin[e + f*x]])],
(a - b)*((c + d)/((a + b)*(c - d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2
, 0] && NeQ[c^2 - d^2, 0] && PosQ[(a + b)/(c + d)]

Rule 2897

Int[1/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Si
mp[2*((c + d*Sin[e + f*x])/(f*(b*c - a*d)*Rt[(c + d)/(a + b), 2]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 - Sin[e +
 f*x])/((a + b)*(c + d*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 + Sin[e + f*x])/((a - b)*(c + d*Sin[e + f*x]))
)]*EllipticF[ArcSin[Rt[(c + d)/(a + b), 2]*(Sqrt[a + b*Sin[e + f*x]]/Sqrt[c + d*Sin[e + f*x]])], (a + b)*((c -
 d)/((a - b)*(c + d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c
^2 - d^2, 0] && PosQ[(c + d)/(a + b)]

Rule 2900

Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Si
mp[(-b)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m - 1)*((c + d*Sin[e + f*x])^n/(f*(m + n))), x] + Dist[1/(d*(m + n)
), Int[(a + b*Sin[e + f*x])^(m - 2)*(c + d*Sin[e + f*x])^(n - 1)*Simp[a^2*c*d*(m + n) + b*d*(b*c*(m - 1) + a*d
*n) + (a*d*(2*b*c + a*d)*(m + n) - b*d*(a*c - b*d*(m + n - 1)))*Sin[e + f*x] + b*d*(b*c*n + a*d*(2*m + n - 1))
*Sin[e + f*x]^2, x], x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c
^2 - d^2, 0] && LtQ[0, m, 2] && LtQ[-1, n, 2] && NeQ[m + n, 0] && (IntegerQ[m] || IntegersQ[2*m, 2*n])

Rule 3075

Int[((A_) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*sin
[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[-2*A*(c - d)*((a + b*Sin[e + f*x])/(f*(b*c - a*d)^2*Rt[(a + b)/(c +
d), 2]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 + Sin[e + f*x])/((c - d)*(a + b*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d)
)*((1 - Sin[e + f*x])/((c + d)*(a + b*Sin[e + f*x])))]*EllipticE[ArcSin[Rt[(a + b)/(c + d), 2]*(Sqrt[c + d*Sin
[e + f*x]]/Sqrt[a + b*Sin[e + f*x]])], (a - b)*((c + d)/((a + b)*(c - d)))], x] /; FreeQ[{a, b, c, d, e, f, A,
 B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && EqQ[A, B] && PosQ[(a + b)/(c + d)]

Rule 3132

Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2)/(((a_.) + (b_.)*sin[(e_.) + (f_.
)*(x_)])^(3/2)*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist[C/b^2, Int[Sqrt[a + b*Sin[e + f
*x]]/Sqrt[c + d*Sin[e + f*x]], x], x] + Dist[1/b^2, Int[(A*b^2 - a^2*C + b*(b*B - 2*a*C)*Sin[e + f*x])/((a + b
*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C}, x] && NeQ[b*c - a
*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]

Rubi steps \begin{align*} \text {integral}& = -\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {a+b \sin (e+f x)}}+\frac {\int \frac {\frac {1}{2} d \left (2 a^2 c-b^2 c+a b d\right )+a d (b c+a d) \sin (e+f x)+\frac {1}{2} b d (b c+a d) \sin ^2(e+f x)}{(a+b \sin (e+f x))^{3/2} \sqrt {c+d \sin (e+f x)}} \, dx}{d} \\ & = -\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {a+b \sin (e+f x)}}+\frac {\int \frac {-\frac {1}{2} a^2 b d (b c+a d)+\frac {1}{2} b^2 d \left (2 a^2 c-b^2 c+a b d\right )}{(a+b \sin (e+f x))^{3/2} \sqrt {c+d \sin (e+f x)}} \, dx}{b^2 d}+\frac {(b c+a d) \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {c+d \sin (e+f x)}} \, dx}{2 b} \\ & = \frac {\sqrt {c+d} (b c+a d) \operatorname {EllipticPi}\left (\frac {b (c+d)}{(a+b) d},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{b \sqrt {a+b} d f}-\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {a+b \sin (e+f x)}}+\frac {\left (\left (a^2-b^2\right ) (b c-a d)\right ) \int \frac {1}{(a+b \sin (e+f x))^{3/2} \sqrt {c+d \sin (e+f x)}} \, dx}{2 b} \\ & = \frac {\sqrt {c+d} (b c+a d) \operatorname {EllipticPi}\left (\frac {b (c+d)}{(a+b) d},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{b \sqrt {a+b} d f}-\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {a+b \sin (e+f x)}}-\frac {1}{2} ((a+b) (b c-a d)) \int \frac {1+\sin (e+f x)}{(a+b \sin (e+f x))^{3/2} \sqrt {c+d \sin (e+f x)}} \, dx+\frac {((a+b) (b c-a d)) \int \frac {1}{\sqrt {a+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx}{2 b} \\ & = \frac {\sqrt {a+b} (c-d) \sqrt {c+d} E\left (\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{(b c-a d) f}+\frac {\sqrt {c+d} (b c+a d) \operatorname {EllipticPi}\left (\frac {b (c+d)}{(a+b) d},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt {-\frac {(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{b \sqrt {a+b} d f}-\frac {b \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{f \sqrt {a+b \sin (e+f x)}}+\frac {(a+b)^{3/2} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (1+\sin (e+f x))}{(a-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{b \sqrt {c+d} f} \\ \end{align*}

Mathematica [C] (warning: unable to verify)

Result contains complex when optimal does not.

Time = 37.85 (sec) , antiderivative size = 196044, normalized size of antiderivative = 315.69 \[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\text {Result too large to show} \]

[In]

Integrate[Sqrt[3 + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]],x]

[Out]

Result too large to show

Maple [C] (warning: unable to verify)

Result contains complex when optimal does not.

Time = 12.13 (sec) , antiderivative size = 132368, normalized size of antiderivative = 213.15

method result size
default \(\text {Expression too large to display}\) \(132368\)

[In]

int((a+b*sin(f*x+e))^(1/2)*(c+d*sin(f*x+e))^(1/2),x,method=_RETURNVERBOSE)

[Out]

result too large to display

Fricas [F]

\[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\int { \sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c} \,d x } \]

[In]

integrate((a+b*sin(f*x+e))^(1/2)*(c+d*sin(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c), x)

Sympy [F]

\[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\int \sqrt {a + b \sin {\left (e + f x \right )}} \sqrt {c + d \sin {\left (e + f x \right )}}\, dx \]

[In]

integrate((a+b*sin(f*x+e))**(1/2)*(c+d*sin(f*x+e))**(1/2),x)

[Out]

Integral(sqrt(a + b*sin(e + f*x))*sqrt(c + d*sin(e + f*x)), x)

Maxima [F]

\[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\int { \sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c} \,d x } \]

[In]

integrate((a+b*sin(f*x+e))^(1/2)*(c+d*sin(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c), x)

Giac [F]

\[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\int { \sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c} \,d x } \]

[In]

integrate((a+b*sin(f*x+e))^(1/2)*(c+d*sin(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c), x)

Mupad [F(-1)]

Timed out. \[ \int \sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)} \, dx=\int \sqrt {a+b\,\sin \left (e+f\,x\right )}\,\sqrt {c+d\,\sin \left (e+f\,x\right )} \,d x \]

[In]

int((a + b*sin(e + f*x))^(1/2)*(c + d*sin(e + f*x))^(1/2),x)

[Out]

int((a + b*sin(e + f*x))^(1/2)*(c + d*sin(e + f*x))^(1/2), x)